﻿@using Small.Html.UI;
@using Small.Html.Options;
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
        <link href="~/Scripts/uploadify/uploadify.css" rel="stylesheet" />
       <link rel="stylesheet" href="/resources/demos/style.css" />

       <script src="~/Scripts/Share/jquery-1.7.1.js"></script>
       <script src="~/Scripts/uploadify/jquery.uploadify.js"></script>
    
  
    <script type="text/javascript">

        $(function () {

            $(function () {
                $("#uploadFile").uploadify({
                    height: 30,
                    swf: '../../Scripts/uploadify/uploadify.swf',
                    uploader: '/File/Index',
                    width: 120
                });
            });


            @Html.AjaxUpload("test", new AjaxUploadOptions { Swf="../../Scripts/uploadify/uploadify.swf", Url="/File/Index", Width=80, Height=20 });
        });

    </script>
    <title>Test</title>
</head>
<body>

    <input type="file" id="uploadFile" />
    <hr />
    <input type="file" id="test" />
</body>
</html>
